package com.hc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hc.common.bean.PageBean;
import com.hc.domain.ProductCategory;
import com.hc.query.ProductCategoryCondition;
import com.hc.res.ProductCategoryItem;

import java.util.List;

/**
 * @author hecai
 */
public interface ProductCategoryService extends IService<ProductCategory> {
    int updateBatchSelective(List<ProductCategory> list);

    int batchInsert(List<ProductCategory> list);

    /**
     * 根据条件查询
     *
     * @param condition
     * @return
     */
    PageBean<ProductCategoryItem> queryByCondition(ProductCategoryCondition condition);
}
